﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Edit.aspx.cs" Inherits="Manager_download_Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
     <ext:HiddenField ID="hfFileUrl" runat="server">
    </ext:HiddenField>
    <ext:Form ID="SimpleForm1" runat="server" BodyPadding="20px" ShowBorder="false" ShowHeader="false"
        Title="">
        <Rows>
            <ext:FormRow>
                <Items>
                    <ext:TextBox ID="txtName" runat="server" Required="true" ShowLabel="true" ShowRedStar="true"
                        Label="资料名称" Text="">
                    </ext:TextBox>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:HtmlEditor ID="txtdesc" runat="server" Height="250px" Label="资料简介" Text="">
                    </ext:HtmlEditor>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:FileUpload ID="FileUpload1" runat="server" Required="true" EmptyText="请选择要上传的资料"
                        ShowRedStar="true" Label="上传资料">
                    </ext:FileUpload>
                </Items>
            </ext:FormRow>
            <ext:FormRow>
                <Items>
                    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableBackgroundColor="false"
                        ShowBorder="false" ShowHeader="false" Title="Panel" AutoHeight="true" AutoWidth="true"
                        BoxConfigPosition="Center" Layout="HBox">
                        <Items>
                            <ext:Button ID="btnSave" Text="保存" OnClick="btnSave_Click" ValidateForms="SimpleForm1"
                                Icon="SystemSave" EnablePostBack="true" runat="server">
                            </ext:Button>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:FormRow>
        </Rows>
    </ext:Form>
    </form>
</body>
</html>
